﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using WPFHelpers;

namespace Tourbook.Tours
{
    public class TourCollectionViewModel : ObservableObject, IPageViewModel
    {        
        public TourCollectionViewModel()
        {
            Tours = new ObservableCollection<TourViewModel>();
            // Test Data
            for (int i=0; i<10; ++i)
            {
                Tours.Add(new TourViewModel() { Title = "Tour " + i });
            }            
        }

        // GUI aspect
        public ObservableCollection<TourViewModel> Tours{ get;  set ; }     

        #region IPageViewModel

        public string PageName
        {
            get
            {
                return "Tours";
            }
        }

        public string Content
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }

        #endregion
    }    
}
